Improve testing framework#11909
Conversation
|
🎯 Code Coverage (details) 🔗 Commit SHA: 1e24d42 | Docs | Datadog PR Page | Give us feedback! |
🟢 Java Benchmark SLOs — All performance SLOs passed
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
There was a problem hiding this comment.
More details
The pre-existing linkMatchers[expectedLinkCount] index bug in assertSpanLinks (which would throw ArrayIndexOutOfBoundsException on any test calling .links(...)) is definitively confirmed fixed: standalone execution showed the old code path always throws AIOOBE, the new linkMatchers[i] path iterates correctly. The measured()/topLevel() additions and module reorganization are behaviorally sound with no regressions — all callers updated, no orphaned old-package references remain.
📊 Validated against 8 scenarios · Open Bits AI session
🤖 Datadog Autotest · Commit 1e24d42 · What is Autotest? · Any feedback? Reach out in #autotest
What Does This Do
This PR improves the Junit / Java testing framework by:
Motivation
Keep enriching the testing API while maintaining design clear.
Additional Notes
Another PR with smoke test improvements coming.
Contributor Checklist
type:and (comp:orinst:) labels in addition to any other useful labelsclose,fix, or any linking keywords when referencing an issueUse
solvesinstead, and assign the PR milestone to the issueJira ticket: APMLP-1247